#include "StdAfx.h"
#include "ChatSocket.h"

CChatSocket::CChatSocket(void)
{
}

CChatSocket::~CChatSocket(void)
{
}

CChatSocket::CChatSocket(CChatRoomDlg *pDlg)
{
	m_pDlg = pDlg;
}

void CChatSocket::OnReceive(int nErrorCode)
{
	CSocket::OnReceive(nErrorCode);
	m_pDlg->OnReceive();
}
